package com.hbzhit.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目填报状态表
 *
 * @author hbzhit
 * @date 2022-05-05 09:00:04
 */
@ApiModel("总监审批表")
@TableName("sys_report_approval")
@Data
public class ReportApprovalEntity implements Serializable {

    private static final long serialVersionUID = 8693104177212497503L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "审批人id")
    private Long userId;

    @ApiModelProperty(value = "项目id")
    private Long proId;

    @ApiModelProperty(value = "填报分组id")
    private String groupId;

    @ApiModelProperty(value = "审批状态（审批通过1，审批驳回2,待审批0）")
    private Integer bpmStatus;

    @ApiModelProperty(value = "审批建议")
    private String message;

    @ApiModelProperty(value = "审核时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("删除标识")
    private Integer isDel;

}
